package com.chucang.shucang.usr.service;

import com.chucang.shucang.common.base.page.PageData;
import com.chucang.shucang.common.base.service.CrudService;
import com.chucang.shucang.usr.dto.UserCollectionHoldDTO;
import com.chucang.shucang.usr.entity.UserCollectionHoldEntity;
import com.chucang.shucang.usr.vo.UserCollectionHoldResVO;
import com.chucang.shucang.usr.vo.UserCollectionOnConsignVO;
import com.chucang.shucang.usr.vo.UserCollectionSerialNumResVO;
import com.chucang.shucang.usr.vo.UserCollectionSerialNumVO;
import com.chucang.shucang.usr.vo.query.UserCollectionHoldQuery;

import java.util.List;

/**
 * 用户持有藏品信息表
 *
 * @author flitsneak flitsneak@gmail.com
 * @since 1.0.0 2022-09-12
 */
public interface UserCollectionHoldService extends CrudService<UserCollectionHoldEntity, UserCollectionHoldDTO> {

    PageData<UserCollectionHoldResVO> userCollectionPage(UserCollectionHoldQuery userCollectionHoldQuery);

    List<UserCollectionSerialNumResVO> collectionSerialNumList(UserCollectionSerialNumVO userCollectionSerialNumVO);

    boolean collectionsOnConsign(UserCollectionOnConsignVO userCollectionOnConsignVO);
}